﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.Threading.Tasks;
using YiSha.Util;
using YiSha.Util.Extension;
using YiSha.Util.Model;
using YiSha.Entity.YiDongYuan;
using YiSha.Model.Param.YiDongYuan;
using YiSha.Service.YiDongYuan;
using YiSha.Service.OrganizationManage;
using YiSha.Entity.OrganizationManage;
using YiSha.Model.Param.OrganizationManage;

namespace YiSha.Business.YiDongYuan
{
    /// <summary>
    /// 创 建：admin
    /// 日 期：2021-06-16 08:31
    /// 描 述：机械备案申报业务类
    /// </summary>
    public class DetectionExportBLL
    {
        private DetectionExportService exportService = new DetectionExportService();

        #region 获取数据

        public async Task<TData<List<DetectionExportEntity>>> GetExportList(ExportListParam param)
        {
            TData<List<DetectionExportEntity>> obj = new TData<List<DetectionExportEntity>>();
            obj.Data = await exportService.GetExportList(param);
            obj.Total = obj.Data.Count;
            obj.Tag = 1;
            return obj;
        }


        #endregion 获取数据

    }
}
